public class Gen<T> {
    private T obj;
    private int a;
    public Gen(T o,int a){
        obj = o;
        this.a= a;
    }
    public T getObj(){
        return obj;
    }
    public void setObj(T o){
        obj = o;
    }
    public void showRuntimeType(){
        System.out.println("T当前的类型为："+obj.getClass().getName());
    }

}
